﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MefTZAddin.interop
{
    public static class Win32
    {
        public static void CheckWin32Error()
        {
            int rc = System.Runtime.InteropServices.Marshal.GetLastWin32Error();
            if (rc != 0)
                throw new System.ComponentModel.Win32Exception(rc);
        }
    }
}
